/**
 * Copyright 2012 Balaji Thennarangam
 */
package com.kathez.ops.business;

import java.util.List;

import com.kathez.business.IKathezBusiness;
import com.kathez.ops.entity.User;

/**
 * Contract for User Registrar
 * 
 * @author Balaji.T
 * @version 1.0
 * @since 1.0
 */
public interface UserRegistrar extends IKathezBusiness {
	
	/**
	 * @param user
	 * @return The added user
	 */
	User addUser(User user);
	
	/**
	 * @param user
	 * @return The user modified
	 */
	User modifyUser(User user);
	
	/**
	 * @param user
	 * @return The user deleted
	 */
	User deleteUser(User user);
	
	/**
	 * @param user
	 * @return List of users retrieved
	 */
	List<User> searchUser(User user);

}
